package com.bawei.module_live

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import com.bawei.library_common.ConstanstValue

class LiveActivity : AppCompatActivity() {
    private lateinit var tv:TextView
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.live_activity)
        tv = findViewById(R.id.tv)
        val userName = intent.getStringExtra(ConstanstValue.AUTHORFLAG)
        val roomName = intent.getStringExtra(ConstanstValue.ROOMNAMEFLAG)
        tv.text = "$roomName ===== $userName"
    }
}